package edu.ptu.springboot04.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import edu.ptu.springboot04.domain.entity.Collect;
import org.apache.ibatis.annotations.Param;

/**
 * @BelongsProject: springboot04
 * @BelongsPackage: edu.ptu.springboot04.mapper
 * @Author: HYJ
 * @CreateTime: 2025-03-22  22:56
 * @Description: TODO
 * @Version: 1.0
 */
public interface CollectMapper extends BaseMapper<Collect> {
    //todo: 改为int
    Collect isCollected(@Param("productId") Long productId, @Param("userId") Long userId);
}
